package com.qtt.app.service;

import com.qtt.app.entity.User;

import java.util.List;

public interface UserService {
    List<User> getAll();

    User getById(Long userId);

    int appUserRegister(String phone, String nickname, String realName, String password, String company, String position);

    Long getUserByPhone(String phone);

    Boolean deleteById(Long userId);

    Boolean updateById(Long id, User entity);


    int addUser(User entity);

    Boolean cancelUser(Long id);
}
